﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YoutubeVideo.MyClass
{
    class VideoItem
    {
        public string Group { set; get; }
        public string Image { set; get; }
        public string Title { set; get; }
        public string YoutubeID { set; get; }
        public string Author { set; get; }
        public TileItem getTitleItem()
        {
            return new TileItem()
                {
                    ImageUri = this.Image,
                    Title =this.Author,
                    Notification = this.Title,
                    GroupTag = this.Group,
                    Message=this.YoutubeID
                };
        }
    }
}
